//
//  Card.h
//  CardSwitchDemo
//
//  Created by Apple on 2016/11/9.
//  Copyright © 2016年 Apple. All rights reserved.
//  被切换的卡片

#import <UIKit/UIKit.h>
#import "XLCardItem.h"
#import "SINAMsgItemModel.h"
#import "SINAStuHomeCoursItemModel.h"


//index 0 空白页面 删除 
typedef void(^XLTargetCardCardItemClickBlock)(UIView *view,NSInteger index);

//flag 1向上 2向下
typedef void(^XLTargetCardCardItemSwipeBlock)(UIView *view,NSInteger flag);

@interface XLTargetCard : UICollectionViewCell

@property(nonatomic,strong) NSTimer *timer;
@property (nonatomic)NSMutableSet *timerSet;
@property(nonatomic,strong) SINAStuHomeCoursItemModel *activityMmodel;
@property (nonatomic, strong) XLCardItem *item;

@property(strong,nonatomic) XLTargetCardCardItemClickBlock clickBlock;
@property(strong,nonatomic) XLTargetCardCardItemSwipeBlock swipeBlock;

@end
